//桃子数量
public class Program17 {
    public static void main(String[] args) {
        int peachNumber = 1;
        for (int i = 0; i < 9; i++) {
            peachNumber = (peachNumber+1)*2;
        }
        System.out.println(peachNumber);
    }
}